

<!--[ include file="admin_header_menu.htm" ]--><div style="clear:both"></div>

<fieldset>
<legend>Excel properties</legend>
<!--[ pager show=page rowcount=$pager.numitems limit=$pager.itemsperpage posvar=startnum shift=0 ]-->
<table width="100%" border="0">
  <tr>
    <td width="7%">Excel No. </td>
    <td width="21%">File Name </td>
    <td width="17%">Upload By </td>
    <td width="13%">Last Update </td>
    <td width="6%">Status</td>
    <td width="15%">Action </td>
  </tr>
  <!--[ foreach from=$objectArray item=excel ]-->
  <tr>
    <td><!--[ counter ]--></td>
    <td><!--[$excel.name]--></td>
    <td><!--[$excel.upload_name]--></td>
    <td><!--[$excel.lastupdate]--></td>
     <td>
	   <!--[if $excel.status eq '0']-->
	   <img src="modules/DeGIS/pnimages/page.png" />
       <!--[elseif $excel.status eq '1']-->
       <img src="modules/DeGIS/pnimages/clock.png"/>
       <!--[elseif $excel.status eq '2']-->
       <img src="modules/DeGIS/pnimages/ajax-loader.gif"/>
       <!--[elseif $excel.status eq '3']-->
       <img src="modules/DeGIS/pnimages/accept.png"/>
       <!--[else]-->
       <img src="modules/DeGIS/pnimages/stop.png"/>
	   <!--[/if]--> </td>
    <td>
    <!--[if $excel.status eq '-1']-->
        <a href='<!--[pnmodurl modname="VoteDataCenter"
                           type="admin"
                           func="form"
                           ctrl=$ctrl
                           id=$excel.id]-->'>[error]</a>
    <!--[elseif $excel.status eq '0']-->
    <a href='<!--[pnmodurl modname="VoteDataCenter"
                           type="admin"
                           func="form"
                           ctrl="migrate"
                           id=$excel.id
                           ]-->'>[migrate]</a>
    <!--[elseif $excel.status eq '1']-->
    [waiting]
    <!--[elseif $excel.status eq '2']-->
    <a href='<!--[pnmodurl modname="VoteDataCenter"
                           type="admin"
                           func="form"
                           ctrl="migrate"
                           id=$excel.id
                           ]-->'>[working]</a>
    <!--[elseif $excel.status eq '3']-->
    [finished]
    <!--[/if]-->
    <!--[if $excel.status neq '2']-->
    <a href='<!--[pnmodurl modname="VoteDataCenter"
                           type="user"
                           func="form"
                           ctrl=$ctrl
                           id=$excel.id
                           confirm="true"]-->'>[delete]</a>
    <!--[else]-->
     [delete]
    <!--[/if]-->
    </td>
  </tr>
  <!--[ /foreach ]-->
</table>
</fieldset>
